package com.yunduansing.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.yunduansing.core.dto.GroupDto;
import com.yunduansing.core.model.GroupModel;

@Repository
public interface GroupDao extends BaseDao<GroupModel> {
	int saveGroupRole(@Param(value="groupId") int groupId,@Param(value="list")List<Integer> list);
	int deleteGroupRoleByGroupIds(List<Object> list);
	List<GroupModel> getAll();
	GroupDto getGroupWithRolesById(int id);
}
